package com.cskaoyan.service;

import com.cskaoyan.bean.bo.CategoryBO;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.vo.CategoryL1VO;
import com.cskaoyan.bean.vo.CategoryListVOWithChild;
import com.cskaoyan.bean.vo.CategoryVO;
import com.cskaoyan.bean.vo.TVO;

import java.util.List;

/**
 * @author by WANGJun
 * @date 2022/6/5 15:16
 */
public interface CategoryService {

    TVO<CategoryListVOWithChild> listCategory(BaseParam baseParam);

    CategoryVO createCategory(CategoryBO categoryBO);

    int updateCategory(CategoryBO categoryBO);

    int deleteCategory(Integer id);

    TVO<CategoryL1VO> l1();
}
